import logo from './logo.svg';
import './App.css';
import { Route, Routes, Link, NavLink, Navigate, useNavigate, useLocation } from 'react-router-dom'
import 'antd/dist/antd.css';

import Login from './views/Login';
import Manage from './views/Manage';

function App() {
  return (
    <div className="App">

      <Routes>
        <Route path='' element={<Navigate to='/login' />} />
        <Route path='/login' element={<Login />}></Route>
        <Route path='/manage/*' element={<Manage />}></Route>

      </Routes>
    </div>
  );
}

export default App;
